package com.hp.snap.gr.model.jaxb;

import javax.xml.bind.annotation.*;


/**
 * <p>Java class for RemoteShellActionType complex type.
 * <p/>
 * <p>The following schema fragment specifies the expected content contained within this class.
 * <p/>
 * <pre>
 * &lt;complexType name="RemoteShellActionType">
 *   &lt;complexContent>
 *     &lt;extension base="{}ActionType">
 *       &lt;sequence>
 *         &lt;element name="shell" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *       &lt;/sequence>
 *       &lt;attribute name="isFile" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
 *     &lt;/extension>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RemoteShellActionType", propOrder = {
        "host",
        "shell"
})
public class RemoteShellActionType
        extends ActionType {

    @XmlElement
    protected String host = null;
    @XmlElement(required = true)
    protected String shell;
    @XmlAttribute
    protected Boolean isFile;

    /**
     * Gets the value of the shell property.
     *
     * @return possible object is
     * {@link String }
     */
    public String getShell() {
        return shell;
    }

    /**
     * Sets the value of the shell property.
     *
     * @param value allowed object is
     *              {@link String }
     */
    public void setShell(String value) {
        this.shell = value;
    }

    /**
     * Gets the value of the isFile property.
     *
     * @return possible object is
     * {@link Boolean }
     */
    public boolean isIsFile() {
        if (isFile == null) {
            return false;
        } else {
            return isFile;
        }
    }

    /**
     * Sets the value of the isFile property.
     *
     * @param value allowed object is
     *              {@link Boolean }
     */
    public void setIsFile(Boolean value) {
        this.isFile = value;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }
}
